<!--
Copyright 2017 The Kubernetes Dashboard Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->

<kd-content-card>
  <kd-title>[[Deploy a Containerized App|Title text which appears on top of the deploy page.]]</kd-title>
  <kd-content class="kd-content-padded">
    <kd-help-section>
      <md-radio-group ng-model="ctrl.selection"
                      ng-change="ctrl.changeSelection()">
        <md-radio-button value="{{::ctrl.appOption}}"
                         class="md-primary">
          [[Specify app details below|Text for a selection option, which the user must click to manually enter the app details on the deploy page.]]
        </md-radio-button>
        <md-radio-button value="{{::ctrl.fileOption}}"
                         class="md-primary">
          [[Upload a YAML or JSON file|Text for a selection option, which the user must click to upload a YAML/JSON file to deploy from on the deploy page.]]
        </md-radio-button>
      </md-radio-group>
      <kd-user-help>
        [[To learn more, <a href="http://kubernetes.io/docs/user-guide/ui/"
           target="_blank"
           tabindex="-1"> take the Dashboard Tour <i class="material-icons">open_in_new</i></a>|User help with a link redirecting to the "Dashboard tour" on the deploy page.]]
      </kd-user-help>
    </kd-help-section>
    <div ui-view></div>
  </kd-content>
</kd-content-card>
